/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const goodsRouter = {
  path: '/goods',
  component: Layout,
  meta: {
    title: '商品',
    icon: 'documentation',
    affix: false
  },
  children: [
    {
      path: '/goods/administer',
      component: () => import('@/views/goods/administer'),
      name: 'administer',
      meta: {
        title: '商品管理',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/goods/productCategory',
      component: () => import('@/views/goods/productCategory'),
      name: 'productCategory',
      meta: {
        title: '商品分类',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/goods/rule',
      component: () => import('@/views/goods/rule'),
      name: 'rule',
      meta: {
        title: '商品规格',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/goods/reply',
      component: () => import('@/views/goods/reply'),
      name: 'reply',
      meta: {
        title: '商品评论',
        icon: 'documentation',
        affix: false
      }
    }
  ]
}
export default goodsRouter
